function VS_SetPointPos(nType,pointID,strPos){
    var args = (arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments));
    PubSub.publish("VS_SetPointPos",args);
}

function VS_SetProjectName(strProjectName){
  var args = (arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments));
  PubSub.publish("VS_SetProjectName",args);
}

function VS_ShowAppPage(){
  var args = (arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments));
  PubSub.publish("VS_ShowAppPage",args);
}

function VS_AppWindowSize(){
    var args = (arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments));
    PubSub.publish("VS_AppWindowSize",args);
}

function Web_CopyString(strCopy){
  var args = (arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments));
  PubSub.publish("Web_CopyString",args);
  //复制到剪切板
  window.clipboardData.setData("Text",strCopy);
}

function VS_SceneLoaded(){
  var args = (arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments));
  PubSub.publish("VS_SceneLoaded",args);
}

function VS_PreSceneLoaded(){
  var args = (arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments));
  PubSub.publish("VS_PreSceneLoaded",args);
}
